getTotalBalances

Totals balances by as-of date (or the single current/future balance) across all accounts, returning an unmodifiable list of balances (TotalAmount objects) by as-of date. If only current/future balance is being calculated (with no as-of dates) then a single entry will be returned in the list representing this balance. The (as-of date) order and size of the list are both guaranteed to match the original list of dates specified. Individual as-of date balance entries can be null only when using outOfDateNull and where none of the accounts existed on the specific as-of date